package com.cn.transfer.common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.math.BigDecimal;
import java.util.Date;
import lombok.Builder;
import lombok.Data;

/**
 * @author: 向伟典
 * @date: 2023/9/1 14:44
 * @Description: ${description}
 */
@Data
@Builder
@TableName(value = "PU_PurchaseOrder_b")
public class PuPurchaseOrderB {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField(value = "code")
    private String code;

    @TableField(value = "quantity")
    private BigDecimal quantity;

    @TableField(value = "compositionQuantity")
    private String compositionquantity;

    @TableField(value = "quantity2")
    private BigDecimal quantity2;

    @TableField(value = "unitExchangeRate")
    private BigDecimal unitexchangerate;

    @TableField(value = "price")
    private BigDecimal price;

    @TableField(value = "discountRate")
    private BigDecimal discountrate;

    @TableField(value = "origDiscountPrice")
    private BigDecimal origdiscountprice;

    @TableField(value = "taxRate")
    private BigDecimal taxrate;

    @TableField(value = "origTaxPrice")
    private BigDecimal origtaxprice;

    @TableField(value = "origDiscountAmount")
    private BigDecimal origdiscountamount;

    @TableField(value = "origTax")
    private BigDecimal origtax;

    @TableField(value = "countInQuantity2")
    private BigDecimal countinquantity2;

    @TableField(value = "origTaxAmount")
    private BigDecimal origtaxamount;

    @TableField(value = "origDiscount")
    private BigDecimal origdiscount;

    @TableField(value = "discountPrice")
    private BigDecimal discountprice;

    @TableField(value = "taxPrice")
    private BigDecimal taxprice;

    @TableField(value = "discountAmount")
    private BigDecimal discountamount;

    @TableField(value = "tax")
    private BigDecimal tax;

    @TableField(value = "taxAmount")
    private BigDecimal taxamount;

    @TableField(value = "discount")
    private BigDecimal discount;

    @TableField(value = "isPresent")
    private Byte ispresent;

    @TableField(value = "countArrivalQuantity")
    private BigDecimal countarrivalquantity;

    @TableField(value = "countArrivalQuantity2")
    private BigDecimal countarrivalquantity2;

    @TableField(value = "countInQuantity")
    private BigDecimal countinquantity;

    @TableField(value = "countQuantity")
    private BigDecimal countquantity;

    @TableField(value = "countQuantity2")
    private BigDecimal countquantity2;

    @TableField(value = "baseQuantity")
    private BigDecimal basequantity;

    @TableField(value = "subQuantity")
    private BigDecimal subquantity;

    @TableField(value = "taxFlag")
    private Byte taxflag;

    @TableField(value = "saleOrderCode")
    private String saleordercode;

    @TableField(value = "sourceVoucherCode")
    private String sourcevouchercode;

    @TableField(value = "origPrice")
    private BigDecimal origprice;

    @TableField(value = "baseTaxPrice")
    private BigDecimal basetaxprice;

    @TableField(value = "baseDiscountPrice")
    private BigDecimal basediscountprice;

    @TableField(value = "basePrice")
    private BigDecimal baseprice;

    @TableField(value = "isNoModify")
    private String isnomodify;

    @TableField(value = "arrivalTimes")
    private Integer arrivaltimes;

    @TableField(value = "stockTimes")
    private Integer stocktimes;

    @TableField(value = "inventoryBarCode")
    private String inventorybarcode;

    @TableField(value = "partnerInventoryCode")
    private String partnerinventorycode;

    @TableField(value = "ts")
    private Date ts;

    @TableField(value = "updatedBy")
    private String updatedby;

    @TableField(value = "freeItem0")
    private String freeitem0;

    @TableField(value = "freeItem1")
    private String freeitem1;

    @TableField(value = "freeItem2")
    private String freeitem2;

    @TableField(value = "freeItem3")
    private String freeitem3;

    @TableField(value = "freeItem4")
    private String freeitem4;

    @TableField(value = "freeItem5")
    private String freeitem5;

    @TableField(value = "freeItem6")
    private String freeitem6;

    @TableField(value = "freeItem7")
    private String freeitem7;

    @TableField(value = "freeItem8")
    private String freeitem8;

    @TableField(value = "freeItem9")
    private String freeitem9;

    @TableField(value = "priuserdefnvc1")
    private String priuserdefnvc1;

    @TableField(value = "priuserdefdecm1")
    private BigDecimal priuserdefdecm1;

    @TableField(value = "priuserdefnvc2")
    private String priuserdefnvc2;

    @TableField(value = "priuserdefdecm2")
    private BigDecimal priuserdefdecm2;

    @TableField(value = "priuserdefnvc3")
    private String priuserdefnvc3;

    @TableField(value = "priuserdefdecm3")
    private BigDecimal priuserdefdecm3;

    @TableField(value = "priuserdefnvc4")
    private String priuserdefnvc4;

    @TableField(value = "priuserdefdecm4")
    private BigDecimal priuserdefdecm4;

    @TableField(value = "pubuserdefnvc1")
    private String pubuserdefnvc1;

    @TableField(value = "pubuserdefdecm1")
    private BigDecimal pubuserdefdecm1;

    @TableField(value = "pubuserdefnvc2")
    private String pubuserdefnvc2;

    @TableField(value = "pubuserdefdecm2")
    private BigDecimal pubuserdefdecm2;

    @TableField(value = "pubuserdefnvc3")
    private String pubuserdefnvc3;

    @TableField(value = "pubuserdefdecm3")
    private BigDecimal pubuserdefdecm3;

    @TableField(value = "pubuserdefnvc4")
    private String pubuserdefnvc4;

    @TableField(value = "pubuserdefdecm4")
    private BigDecimal pubuserdefdecm4;

    @TableField(value = "partnerInventoryName")
    private String partnerinventoryname;

    @TableField(value = "cumInstockShrinkageQuantity")
    private BigDecimal cuminstockshrinkagequantity;

    @TableField(value = "cumInstockShrinkageQuantity2")
    private BigDecimal cuminstockshrinkagequantity2;

    @TableField(value = "islaborcost")
    private Byte islaborcost;

    @TableField(value = "detailVoucherState")
    private String detailvoucherstate;

    @TableField(value = "Retailprice")
    private BigDecimal retailprice;

    @TableField(value = "idinventory")
    private Integer idinventory;

    @TableField(value = "idproject")
    private Integer idproject;

    @TableField(value = "idbaseunit")
    private Integer idbaseunit;

    @TableField(value = "idsubunit")
    private Integer idsubunit;

    @TableField(value = "idunit")
    private Integer idunit;

    @TableField(value = "idunit2")
    private Integer idunit2;

    @TableField(value = "idwarehouse")
    private Integer idwarehouse;

    @TableField(value = "sourceVoucherId")
    private Integer sourcevoucherid;

    @TableField(value = "sourceVoucherDetailId")
    private Integer sourcevoucherdetailid;

    @TableField(value = "manufactureOrderId")
    private Integer manufactureorderid;

    @TableField(value = "idPurchaseOrderDTO")
    private Integer idpurchaseorderdto;

    @TableField(value = "saleOrderId")
    private Integer saleorderid;

    @TableField(value = "saleOrderDetailId")
    private Integer saleorderdetailid;

    @TableField(value = "idsourcevouchertype")
    private Integer idsourcevouchertype;

    @TableField(value = "acceptDate")
    private Date acceptdate;

    @TableField(value = "updated")
    private Date updated;

    @TableField(value = "outSourceOrderId")
    private Integer outsourceorderid;

    @TableField(value = "IsModifiedPrice")
    private Byte ismodifiedprice;

    @TableField(value = "IsClose")
    private Byte isclose;

    @TableField(value = "ClosedBy")
    private String closedby;

    @TableField(value = "ClosedTime")
    private Date closedtime;

    @TableField(value = "PriceStrategyTypeName")
    private String pricestrategytypename;

    @TableField(value = "PriceStrategyTypeId")
    private Integer pricestrategytypeid;

    @TableField(value = "pubuserdefnvc5")
    private String pubuserdefnvc5;

    @TableField(value = "InmeterialInspection")
    private Byte inmeterialinspection;

    @TableField(value = "InmeterialInspectionMethod")
    private Integer inmeterialinspectionmethod;

    @TableField(value = "InmeterialInspectionSamplingRate")
    private BigDecimal inmeterialinspectionsamplingrate;

    @TableField(value = "ExternalUnitName")
    private String externalunitname;

    @TableField(value = "DetailMemo")
    private String detailmemo;

    @TableField(value = "OrigPayReqAmount")
    private BigDecimal origpayreqamount;

    @TableField(value = "PayReqAmount")
    private BigDecimal payreqamount;

    @TableField(value = "OrigPayOffAmount")
    private BigDecimal origpayoffamount;

    @TableField(value = "PayOffAmount")
    private BigDecimal payoffamount;

    @TableField(value = "OrigPayReqableAmount")
    private BigDecimal origpayreqableamount;

    @TableField(value = "PayReqableAmount")
    private BigDecimal payreqableamount;

    @TableField(value = "TotalPaymentRequisitionCount")
    private Integer totalpaymentrequisitioncount;

    @TableField(value = "DeliveryQuantity")
    private BigDecimal deliveryquantity;

    @TableField(value = "LatestPPrice")
    private BigDecimal latestpprice;

    public static final String COL_ID = "id";

    public static final String COL_CODE = "code";

    public static final String COL_QUANTITY = "quantity";

    public static final String COL_COMPOSITIONQUANTITY = "compositionQuantity";

    public static final String COL_QUANTITY2 = "quantity2";

    public static final String COL_UNITEXCHANGERATE = "unitExchangeRate";

    public static final String COL_PRICE = "price";

    public static final String COL_DISCOUNTRATE = "discountRate";

    public static final String COL_ORIGDISCOUNTPRICE = "origDiscountPrice";

    public static final String COL_TAXRATE = "taxRate";

    public static final String COL_ORIGTAXPRICE = "origTaxPrice";

    public static final String COL_ORIGDISCOUNTAMOUNT = "origDiscountAmount";

    public static final String COL_ORIGTAX = "origTax";

    public static final String COL_COUNTINQUANTITY2 = "countInQuantity2";

    public static final String COL_ORIGTAXAMOUNT = "origTaxAmount";

    public static final String COL_ORIGDISCOUNT = "origDiscount";

    public static final String COL_DISCOUNTPRICE = "discountPrice";

    public static final String COL_TAXPRICE = "taxPrice";

    public static final String COL_DISCOUNTAMOUNT = "discountAmount";

    public static final String COL_TAX = "tax";

    public static final String COL_TAXAMOUNT = "taxAmount";

    public static final String COL_DISCOUNT = "discount";

    public static final String COL_ISPRESENT = "isPresent";

    public static final String COL_COUNTARRIVALQUANTITY = "countArrivalQuantity";

    public static final String COL_COUNTARRIVALQUANTITY2 = "countArrivalQuantity2";

    public static final String COL_COUNTINQUANTITY = "countInQuantity";

    public static final String COL_COUNTQUANTITY = "countQuantity";

    public static final String COL_COUNTQUANTITY2 = "countQuantity2";

    public static final String COL_BASEQUANTITY = "baseQuantity";

    public static final String COL_SUBQUANTITY = "subQuantity";

    public static final String COL_TAXFLAG = "taxFlag";

    public static final String COL_SALEORDERCODE = "saleOrderCode";

    public static final String COL_SOURCEVOUCHERCODE = "sourceVoucherCode";

    public static final String COL_ORIGPRICE = "origPrice";

    public static final String COL_BASETAXPRICE = "baseTaxPrice";

    public static final String COL_BASEDISCOUNTPRICE = "baseDiscountPrice";

    public static final String COL_BASEPRICE = "basePrice";

    public static final String COL_ISNOMODIFY = "isNoModify";

    public static final String COL_ARRIVALTIMES = "arrivalTimes";

    public static final String COL_STOCKTIMES = "stockTimes";

    public static final String COL_INVENTORYBARCODE = "inventoryBarCode";

    public static final String COL_PARTNERINVENTORYCODE = "partnerInventoryCode";

    public static final String COL_TS = "ts";

    public static final String COL_UPDATEDBY = "updatedBy";

    public static final String COL_FREEITEM0 = "freeItem0";

    public static final String COL_FREEITEM1 = "freeItem1";

    public static final String COL_FREEITEM2 = "freeItem2";

    public static final String COL_FREEITEM3 = "freeItem3";

    public static final String COL_FREEITEM4 = "freeItem4";

    public static final String COL_FREEITEM5 = "freeItem5";

    public static final String COL_FREEITEM6 = "freeItem6";

    public static final String COL_FREEITEM7 = "freeItem7";

    public static final String COL_FREEITEM8 = "freeItem8";

    public static final String COL_FREEITEM9 = "freeItem9";

    public static final String COL_PRIUSERDEFNVC1 = "priuserdefnvc1";

    public static final String COL_PRIUSERDEFDECM1 = "priuserdefdecm1";

    public static final String COL_PRIUSERDEFNVC2 = "priuserdefnvc2";

    public static final String COL_PRIUSERDEFDECM2 = "priuserdefdecm2";

    public static final String COL_PRIUSERDEFNVC3 = "priuserdefnvc3";

    public static final String COL_PRIUSERDEFDECM3 = "priuserdefdecm3";

    public static final String COL_PRIUSERDEFNVC4 = "priuserdefnvc4";

    public static final String COL_PRIUSERDEFDECM4 = "priuserdefdecm4";

    public static final String COL_PUBUSERDEFNVC1 = "pubuserdefnvc1";

    public static final String COL_PUBUSERDEFDECM1 = "pubuserdefdecm1";

    public static final String COL_PUBUSERDEFNVC2 = "pubuserdefnvc2";

    public static final String COL_PUBUSERDEFDECM2 = "pubuserdefdecm2";

    public static final String COL_PUBUSERDEFNVC3 = "pubuserdefnvc3";

    public static final String COL_PUBUSERDEFDECM3 = "pubuserdefdecm3";

    public static final String COL_PUBUSERDEFNVC4 = "pubuserdefnvc4";

    public static final String COL_PUBUSERDEFDECM4 = "pubuserdefdecm4";

    public static final String COL_PARTNERINVENTORYNAME = "partnerInventoryName";

    public static final String COL_CUMINSTOCKSHRINKAGEQUANTITY = "cumInstockShrinkageQuantity";

    public static final String COL_CUMINSTOCKSHRINKAGEQUANTITY2 = "cumInstockShrinkageQuantity2";

    public static final String COL_ISLABORCOST = "islaborcost";

    public static final String COL_DETAILVOUCHERSTATE = "detailVoucherState";

    public static final String COL_RETAILPRICE = "Retailprice";

    public static final String COL_IDINVENTORY = "idinventory";

    public static final String COL_IDPROJECT = "idproject";

    public static final String COL_IDBASEUNIT = "idbaseunit";

    public static final String COL_IDSUBUNIT = "idsubunit";

    public static final String COL_IDUNIT = "idunit";

    public static final String COL_IDUNIT2 = "idunit2";

    public static final String COL_IDWAREHOUSE = "idwarehouse";

    public static final String COL_SOURCEVOUCHERID = "sourceVoucherId";

    public static final String COL_SOURCEVOUCHERDETAILID = "sourceVoucherDetailId";

    public static final String COL_MANUFACTUREORDERID = "manufactureOrderId";

    public static final String COL_IDPURCHASEORDERDTO = "idPurchaseOrderDTO";

    public static final String COL_SALEORDERID = "saleOrderId";

    public static final String COL_SALEORDERDETAILID = "saleOrderDetailId";

    public static final String COL_IDSOURCEVOUCHERTYPE = "idsourcevouchertype";

    public static final String COL_ACCEPTDATE = "acceptDate";

    public static final String COL_UPDATED = "updated";

    public static final String COL_OUTSOURCEORDERID = "outSourceOrderId";

    public static final String COL_ISMODIFIEDPRICE = "IsModifiedPrice";

    public static final String COL_ISCLOSE = "IsClose";

    public static final String COL_CLOSEDBY = "ClosedBy";

    public static final String COL_CLOSEDTIME = "ClosedTime";

    public static final String COL_PRICESTRATEGYTYPENAME = "PriceStrategyTypeName";

    public static final String COL_PRICESTRATEGYTYPEID = "PriceStrategyTypeId";

    public static final String COL_PUBUSERDEFNVC5 = "pubuserdefnvc5";

    public static final String COL_INMETERIALINSPECTION = "InmeterialInspection";

    public static final String COL_INMETERIALINSPECTIONMETHOD = "InmeterialInspectionMethod";

    public static final String COL_INMETERIALINSPECTIONSAMPLINGRATE = "InmeterialInspectionSamplingRate";

    public static final String COL_EXTERNALUNITNAME = "ExternalUnitName";

    public static final String COL_DETAILMEMO = "DetailMemo";

    public static final String COL_ORIGPAYREQAMOUNT = "OrigPayReqAmount";

    public static final String COL_PAYREQAMOUNT = "PayReqAmount";

    public static final String COL_ORIGPAYOFFAMOUNT = "OrigPayOffAmount";

    public static final String COL_PAYOFFAMOUNT = "PayOffAmount";

    public static final String COL_ORIGPAYREQABLEAMOUNT = "OrigPayReqableAmount";

    public static final String COL_PAYREQABLEAMOUNT = "PayReqableAmount";

    public static final String COL_TOTALPAYMENTREQUISITIONCOUNT = "TotalPaymentRequisitionCount";

    public static final String COL_DELIVERYQUANTITY = "DeliveryQuantity";

    public static final String COL_LATESTPPRICE = "LatestPPrice";
}